package com.testing.class12;

/**
 * @Classname Dog
 * @Description 类型说明
 * @Date 2020/12/19 13:25
 * @Created by 勾勾
 */
public class Dog {

    private String name;

    public Dog(String name) {
        this.name = name;
    }

    public void bark() {
        System.out.println(name + "汪汪叫");
    }
}
